﻿namespace Mathmall.Administration.Vo
{
    /// <summary>
    /// 商品属性
    /// </summary>
    public class AttrVo
    {
        /// <summary>
        /// 属性id
        /// </summary>
        public int AttrID { get; set; }

        /// <summary>
        /// 属性名
        /// </summary>
        public string? AttrName { get; set; }

        /// <summary>
        /// 是否需要检索（false-不需要，true-需要）
        /// </summary>
        public bool? SearchType { get; set; }

        /// <summary>
        /// 属性图标
        /// </summary>
        public string? Icon { get; set; }

        /// <summary>
        /// 属性值集合
        /// </summary>
        public List<string> AttrValue { get; set; } = new List<string>();

        /// <summary>
        /// 属性类型【0-销售属性，1-基本属性】
        /// </summary>
        public byte? AttrType { get; set; }

        /// <summary>
        /// 启用状态【false-禁用，ture-启用】
        /// </summary>
        public bool? Enable { get; set; }

        /// <summary>
        /// 所属分类
        /// </summary>
        public int? CatalogID { get; set; }

        /// <summary>
        /// 快速展示【是否展示在介绍上：false-否，true-是】
        /// </summary>
        public bool? ShowDescription { get; set; }

        /// <summary>
        /// 属性分组id
        /// </summary>
        public int AttrGroupID { get; set; }

        /// <summary>
        /// 分类名称
        /// </summary>
        public string CategoryName { get; set; } = string.Empty;

        /// <summary>
        /// 属性分组名
        /// </summary>
        public string AttrGroupName { get; set; } = string.Empty;

        /// <summary>
        /// 属性与属性分组id
        /// </summary>
        public int AttrAttrgroupRelationID { get; set; }
    }
}